#ifndef SOCKET_ERRNO_H_
#define SOCKET_ERRNO_H_

enum EmSocketErrno
{
    EmSocketErrno_SUCCESS          = 1,
    EmSocketErrno_LISTEN_FAILED    = -1,
    EmSocketErrno_CONNECT_FAILED   = -2,
    EmSocketErrno_SEND_FAILED      = -3,
    EmSocketErrno_READ_FAILED      = -4,
    EmSocketErrno_BIND_ADDR_FAILED = -5,
    EmSocketErrno_ACCEPT_FAILED    = -6,
    EmSocketErrno_BAD_DESCRIPT     = -7,
    EmSocketErrno_NEED_AGAIN       = -8,
};

#endif
